const { merge } = require('webpack-merge');

const commonConfig = require('./webpack.common.config');

module.exports = merge(commonConfig, {
    mode: "development",
    devtool: "source-map",
    devServer: {
        // contentBase: "./public",
        hot: true,
        // proxy: {
        //     "/api": {
        //         target: "http://localhost:8888",
        //         pathRewrite: {
        //             "^/api": ""
        //         },
        //         secure:false,
        //         changeOrigin: true
        //     }
        // }
    },
   
})